webpackJsonphippius([5],{

/***/ 178:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Swipe_vue__ = __webpack_require__(498);
/* empty harmony namespace reexport */
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4db09084_hasScoped_true_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Swipe_vue__ = __webpack_require__(529);
function injectStyle (ssrContext) {
  __webpack_require__(528)
}
var normalizeComponent = __webpack_require__(5)
/* script */


/* template */

/* template functional */
var __vue_template_functional__ = false
/* styles */
var __vue_styles__ = injectStyle
/* scopeId */
var __vue_scopeId__ = "data-v-4db09084"
/* moduleIdentifier (server only) */
var __vue_module_identifier__ = null
var Component = normalizeComponent(
  __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_Swipe_vue__["a" /* default */],
  __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_4db09084_hasScoped_true_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_Swipe_vue__["a" /* default */],
  __vue_template_functional__,
  __vue_styles__,
  __vue_scopeId__,
  __vue_module_identifier__
)

/* harmony default export */ __webpack_exports__["default"] = (Component.exports);


/***/ }),

/***/ 498:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0____ = __webpack_require__(162);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//


var SwipeItem = __WEBPACK_IMPORTED_MODULE_0____["q" /* Swipe */].SwipeItem;


/* harmony default export */ __webpack_exports__["a"] = ({
  components: {
    Swipe: __WEBPACK_IMPORTED_MODULE_0____["q" /* Swipe */],
    SwipeItem: SwipeItem
  },
  data: function data() {
    return {
      index: 0,
      count: 3
    };
  },
  created: function created() {
    this.bgColor = ['red', 'green', 'blue'];
  },

  methods: {
    start: function start(i) {
      console.log('start: ' + i);
    },
    move: function move(i) {
      console.log('move: ' + i);
    },
    change: function change(i) {
      console.log('change: ' + i);
    }
  }
});

/***/ }),

/***/ 528:
/***/ (function(module, exports) {

// removed by extract-text-webpack-plugin

/***/ }),

/***/ 529:
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"content-view"},[_c('h2',{staticClass:"item-title"},[_vm._v("基础使用")]),_vm._v(" "),_c('Swipe',{on:{"start":_vm.start,"move":_vm.move,"change":_vm.change}},[_c('SwipeItem',[_c('div',{staticClass:"item",style:({'background': _vm.bgColor[0]})},[_vm._v("0")])]),_vm._v(" "),_c('SwipeItem',[_c('div',{staticClass:"item",style:({'background': _vm.bgColor[1]})},[_vm._v("1")])]),_vm._v(" "),_c('SwipeItem',[_c('div',{staticClass:"item",style:({'background': _vm.bgColor[2]})},[_vm._v("2")])])],1),_vm._v(" "),_c('h2',{staticClass:"item-title"},[_vm._v("纵向滚动")]),_vm._v(" "),_c('Swipe',{staticStyle:{"height":"200px"},attrs:{"vertical":true}},_vm._l((_vm.count),function(key){return _c('SwipeItem',{key:key,style:({'background': _vm.bgColor[key-1]})},[_c('div',{staticClass:"item"},[_vm._v(_vm._s(key-1))])])})),_vm._v(" "),_c('h2',{staticClass:"item-title"},[_vm._v("定制indicators")]),_vm._v(" "),_c('Swipe',{attrs:{"index":_vm.index},on:{"update:index":function($event){_vm.index=$event}}},[_vm._l((_vm.count),function(key){return _c('SwipeItem',{key:key,style:({'background': _vm.bgColor[key-1]})},[_c('div',{staticClass:"item"},[_vm._v(_vm._s(key-1))])])}),_vm._v(" "),_vm._l((_vm.count),function(key){return _c('div',{key:key,class:['indicators', {'active': key-1 === _vm.index}],attrs:{"slot":"indicators"},slot:"indicators"})})],2)],1)}
var staticRenderFns = []
var esExports = { render: render, staticRenderFns: staticRenderFns }
/* harmony default export */ __webpack_exports__["a"] = (esExports);

/***/ })

});